package cn.ly.security.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "权限")
public class Role implements Serializable {
    @TableId(value = "r_id",type = IdType.AUTO)
    @ApiModelProperty(name = "rId",value ="权限ID" )
    private Integer rId;
    @ApiModelProperty(name = "rRole",value ="权限路径" )
    private String rRole;
    @ApiModelProperty(name = "rName",value ="权限角色名" )
    private String rName;

    private static final long serialVersionUID = 1L;

}